<%@ page pageEncoding="utf-8"%>
<!DOCTYPE HTML>
<html>
<head>
	<title>修改角色</title>
	<meta http-equiv="content-type" content="text/html; charset=UTF-8">
	<script type="text/javascript" src="/resources/js/commons.js"></script>
	<link rel="stylesheet" type="text/css" href="/resources/css/commons.css" />
</head>
<body>
	<h2>修改角色</h2>
	<hr/>
	<form action="/sysRoleUpdate" method="POST">
		<!-- hidden隐藏域,在提交表单时连role.id一起提交 -->
		<input type="hidden" name="id" value="${ role.id }"/>
		<table border="1">
			<tr>
				<td width="30%">名称</td>
				<td>
					<input type="text" name="name" value="${ role.name }"/>
				</td>
			</tr>
			<tr>
				<td width="30%">描述</td>
				<td>
					<input type="text" name="descContent" value="${ role.descContent }"/>
				</td>
			</tr>
			<tr>
				<td>有无最高权限(1有0无)</td>
				<td>
					<input type="text" name="isGrant" value="${ role.isGrant }"/>
				</td>
			</tr>
			<tr>
				<td>状态(1启用0禁用)</td>
				<td>
					<input type="text" name="state" value="${ role.state }"/>
				</td>
			</tr>

			<tr>
				<td colspan="2">
					<input type="submit" value="提	交" />
				</td>
			</tr>
		</table>
	</form>
</body>
</html>



